package com.tsyun.view_project.recycler.adapter.viewholder;

import android.view.View;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

import com.makeramen.roundedimageview.RoundedImageView;
import com.tsyun.view_project.R;

public class SampleViewHolder extends RecyclerView.ViewHolder {
    public TextView tvName;
    public RoundedImageView ivHead;
    public TextView tvDate;
    public TextView tvContent;

    public RecyclerView rvPics;
    public SampleViewHolder(@NonNull View itemView) {
        super(itemView);
        tvName = itemView.findViewById(R.id.tv_name);
        ivHead = itemView.findViewById(R.id.iv_head);
        tvDate = itemView.findViewById(R.id.tv_date);
        tvContent = itemView.findViewById(R.id.tv_content);
        rvPics = itemView.findViewById(R.id.rv_pics);
    }
}
